<?php
    setlocale(LC_ALL, "pt_BR", "ptb");
    date_default_timezone_set('America/Fortaleza');

    if(!defined('DS')){
        define('DS',DIRECTORY_SEPARATOR);
    }

    require_once(dirname(__DIR__).DS.'vendor'.DS.'pegasus'.DS."Paths.php");

    function configuration() {
        $configuration = require_once(dirname(__DIR__) . DS . 'app' . DS . "configurationAdmin.php");
        return $configuration;
    }

    require_once(CORE_DIR."App.php");

    use vendor\pegasus\App;
    use vendor\pegasus\System;

    App::uses('route','public');
    App::uses('System','vendor.pegasus');

    $start = new System();
    $start->run();